﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HospitalAdd.aspx.cs" Inherits="Business_YiWu_HospitalAdd" Theme="normal"%>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>医院新增</title>
   <link href="../../css/MessageTable.css" rel="stylesheet" type="text/css" /> 
</head>

<body>
    <form id="form1" runat="server">
   <asp:scriptmanager ID="Scriptmanager1" runat="server"></asp:scriptmanager>
    
    <div>
            <div class="normalnav">
                <div class="normalcontent">
                <span style="color: #ffffff">信息管理>>></span><span style="color: #f6ff00">医院管理</span><span style="color: #ffffff">>>></span><span style="color: #f6ff00">医院新增</span>    
                </div>
            </div>
            <div style="height:40px">
            </div>
            <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF"
                class="table">
                
                <tr class="TR_BG_list">
                    <td align="right" class="navi_link" style="width:15%; height: 31px;">
                        <span style="color: Red;">*</span>医院名称：</td>
                    <td align="left" colspan="3" style="width:85%; height: 31px;">
                        <asp:TextBox ID="tb_AreaName" runat="server" Width="200px"></asp:TextBox>
                        <asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" ControlToValidate="tb_AreaName"
                            Display="Dynamic" ErrorMessage="<span class='reshow' style='font-weight:bold;'>(*)请填写医院名称</span>">
                        </asp:RequiredFieldValidator>
                        <asp:Label ID="lbl_CheckName" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                
                <%--<tr class="TR_BG_list">
                    <td align="right" class="navi_link" style="width:15%; height: 31px;">
                        <span style="color: Red;">*</span>区域名称：</td>
                    <td align="left" colspan="3" style="width:85%; height: 31px;">
                        <asp:TextBox ID="tb_AreaShortName" runat="server" Width="200px"></asp:TextBox>
                        <asp:RequiredFieldValidator
                            ID="RequiredFieldValidator4" runat="server" ControlToValidate="tb_AreaShortName"
                            Display="Dynamic" ErrorMessage="<span class='reshow' style='font-weight:bold;'>(*)请填写区域简称</span>">
                        </asp:RequiredFieldValidator>
                        <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                
                <tr class="TR_BG_list" style="display:none;">
                    <td align="right" class="navi_link" style="width:15%; height: 31px;">
                        <span style="color: Red;">*</span>请选择区域负责人：</td>
                    <td align="left" colspan="3" style="width:85%; height: 31px;">
                        <asp:DropDownList ID="ddl_Leaders" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>--%>
               
               <tr class="TR_BG_list">
                    <td align="right" class="navi_link" style="width:15%; height: 31px;">
                        <span style="color: Red;">*</span>请选择所属区域：</td>
                    <td align="left" colspan="3" style="width:85%; height: 31px;">
                        <asp:DropDownList ID="ddl_ParentArea" runat="server">
                        </asp:DropDownList>
                        <span class='reshow' style='font-weight:bold;'><asp:Label ID="lblcheckArea" runat="server"></asp:Label></span>
                    </td>
                </tr>
               
               <tr class="TR_BG_list">
                    <td align="right" class="navi_link" style="width:15%; height: 31px;">
                        <span style="color: Red;">*</span>请填写简介：</td>
                    <td align="left" colspan="3" style="width:85%; height: 31px;">
                        
                        <CE:Editor ID="txtContents" runat="server" Width="600px" Height="400px" AutoConfigure="Simple">
                                            <FrameStyle Height="100%" BorderWidth="1px" BorderStyle="Solid" BorderColor="#DDDDDD"
                                                Width="100%" CssClass="CuteEditorFrame" BackColor="White"></FrameStyle>
                                        </CE:Editor>
                                        
                                        <br />
                                        
                            
                            <asp:RequiredFieldValidator ID="rfvClassContent" runat="server" ControlToValidate="txtContents"
                            Display="Dynamic" ErrorMessage="<span class=reshow>(*)请填写简介内容</span>"></asp:RequiredFieldValidator>
                    </td>
                </tr>
               
               <%--<tr class="TR_BG_list">
                    <td align="right" class="navi_link" style="width:15%; height: 31px;">
                        <span style="color: Red;">*</span>请输入区域包含地名：</td>
                    <td align="left" colspan="3" style="width:85%; height: 31px;">
                        
                        <asp:TextBox ID="tb_PlaceNames" runat="server" Height="102px" Width="328px" TextMode="MultiLine" ></asp:TextBox>
                        <asp:RequiredFieldValidator
                            ID="RequiredFieldValidator2" runat="server" ControlToValidate="tb_PlaceNames"
                            Display="Dynamic" ErrorMessage="<span class='reshow' style='font-weight:bold;'>(*)请填写区域包含地名!</span>">
                        </asp:RequiredFieldValidator>
                    </td>
                </tr> --%>
                
               <tr class="TR_BG_list">
                    <td align="right" class="navi_link" style="width:15%; height: 31px;">
                        <span style="color: Red;">*</span>请填写权重：</td>
                    <td align="left" colspan="3" style="width:85%; height: 31px;">
                        <%--<textarea id="TextArea_PlaceNames" runat="server" style="width: 377px; height: 122px"></textarea>--%>
                        <asp:TextBox ID="tb_Weight" runat="server">0</asp:TextBox>
                        <asp:Label ID="lbl_Weight_Help" runat="server" ToolTip="权重为0到99的数字，默认为0，数字越大，排列越靠前">权重为0到99的数字，默认为0，数字越大，排列越靠前</asp:Label>
                        <%--<input onkeyup="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">--%>
                        <cc1:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="tb_Weight" Mask="99" MaskType="Number">
                        </cc1:MaskedEditExtender>
                        <asp:RequiredFieldValidator
                            ID="RequiredFieldValidator3" runat="server" ControlToValidate="tb_Weight"
                            Display="Dynamic" ErrorMessage="<span class='reshow' style='font-weight:bold;'>(*)请填写权重!</span>">
                        </asp:RequiredFieldValidator>
                    </td>
                </tr>  
                
                <tr class="TR_BG_list">
                    <td align="left" class="navi_link" colspan="4">
                        <asp:ImageButton ID="btnSave" runat="server" ImageUrl="../../images/Basic/tianjia.gif"
                            ToolTip="新增" OnClick="btnSave_Click" Width="20px" Height="20px"/>新增
                        <asp:ImageButton ID="butrReset" runat="server" ImageUrl="../../images/Basic/zhuanfa.gif"
                            CausesValidation="False" ToolTip="返回" OnClick="butrReset_Click" Width="20px" Height="20px" />返回
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
